﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IGolovkine.AoA.BinarySerialization
{
    public interface IBinaryWriter
    {
        void WriteInt32(Int32 value);
        void WriteString(string value);
        void WriteByteArray(byte[] array);
        void WriteObject<T>(T obj) where T : IBinarySerializable;
        void WriteObjectArray(IBinarySerializable[] array);
    }
}
